package com.example.springboot.mapper;

import com.example.springboot.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LoginMapper {

@Select("select * from user where username= #{username} and password = #{password}")
List<User> selectall(String username,String password);
}
